import { request } from "..";

// 根据id获得歌词信息
export const getLyricApi = (id: number) => {
  return request.get({
    url: "/lyric",
    params: {
      id
    }
  })
}

// 根据id获得歌曲信息
export const getSongDetailApi = (ids: number) => {
  return request.get({
    url: "/song/detail",
    params: {
      ids: ids
    }
  })
}